﻿using System.Configuration;

namespace Infrastructure.ServicesManager.Configuration
{
    class ServiceElement : ConfigurationElement
    {
        [ConfigurationProperty("name", IsKey = true, IsRequired = true)]
        public string Name
        {
            get { return this["name"] as string; }
            set { this["name"] = value; }
        }

        [ConfigurationProperty("assembly", IsRequired = true)]
        public string Assembly
        {
            get { return this["assembly"] as string; }
            set { this["assembly"] = value; }
        }
    }
}
